; EXPECT: unsat
(set-logic HO_UF)
(set-info :status unsat)
(declare-sort U 0)
(declare-fun f (U) U)
(declare-fun g (U) U)
(declare-fun h (U) U)
(declare-fun a () U)
(declare-fun b () U)
(declare-fun c () U)
(assert (or (= f h) (= f g)))
(assert (not (= (f a) (g a))))
(assert (not (= (f a) (h a))))
(check-sat)
